package cn.schoolwow.flow.monitor.test.module.flowRecord.flow.user;

import cn.schoolwow.quickflow.domain.FlowContext;
import cn.schoolwow.quickflow.flow.BusinessFlow;

public class UserLoginFailFlow implements BusinessFlow {
    @Override
    public void executeBusinessFlow(FlowContext flowContext) throws Exception {
        String initialData = (String) flowContext.checkData("initialData");
        throw new IllegalArgumentException("用户名不存在");
    }

    @Override
    public String name() {
        return "用户登录失败";
    }
}
